package com.ymt.bpm.service.platform.config;

import com.alibaba.fastjson.JSONObject;
import com.ymt.fmd.model.PBdm;

public interface BizDataManagerService {

    JSONObject query(String tenantId, String appId, String search, String sort,
                     String order, int offset, int limit, int timezoneOffset);

    JSONObject get(String tenantId, String appId, String bdmId, String lang, int timezoneOffset);

    String checkAttr(String tenantId, String appId, String attrName, String value, String bdmId);

    JSONObject save(String tenantId, PBdm bdm, String loginName, String displayName);

    JSONObject delete(String tenantId, String loginName, String displayName, String appId, String bdmId);

}
